package com.tmeone.erpone.entity;

import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author tmeone
 * @since 2021-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 菜单id
     */
    private String id;

    /**
     * 层级
     */
    private String menuPid;

    /**
     * 菜单名字
     */
    private String menuName;

    /**
     * 地址
     */
    private String menuUrl;

    /**
     * 权限
     */
    private String menuPermission;

    //子菜单
    @TableField(exist = false)
    private List<SMenu> SubFunctions;

}
